package com.yeyks.commonReference.service.other;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.other.dal.domain.SmsHistory;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
public interface SmsHistoryService extends IService<SmsHistory> {
    /**
     * 通过手机号和描述插入数据
     *
     * @param phone
     * @param desc
     * @return
     */
    Integer insertByPhoneDesc(String phone, String desc, String code);

    /**
     * 新增并返回主键id
     *
     * @param smsHistory
     * @return
     */
    Integer insertSelective(SmsHistory smsHistory);

}
